package com.systop.utils;

import java.util.regex.Pattern;

/**
 * @Description: TODO
 * @Author: jsj
 * @Date: 2023/3/2
 */
public class NumberMatchUtil {
    public static boolean isInteger(String str) {
        Pattern pattern = Pattern.compile("^[-\\+]?[\\d]*$");
        return pattern.matcher(str).matches();
    }
}
